package com.bootdo.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.system.dao.DataDictionaryDao;
import com.bootdo.system.domain.DataDictionaryDO;
import com.bootdo.system.service.DataDictionaryService;



@Service
public class DataDictionaryServiceImpl implements DataDictionaryService {
	@Autowired
	private DataDictionaryDao dataDictionaryDao;
	
	@Override
	public DataDictionaryDO get(Long id){
		return dataDictionaryDao.get(id);
	}
	
	@Override
	public List<DataDictionaryDO> list(Map<String, Object> map){
		return dataDictionaryDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return dataDictionaryDao.count(map);
	}
	
	@Override
	public int save(DataDictionaryDO dataDictionary){
		return dataDictionaryDao.save(dataDictionary);
	}
	
	@Override
	public int update(DataDictionaryDO dataDictionary){
		return dataDictionaryDao.update(dataDictionary);
	}
	
	@Override
	public int remove(Long id){
		return dataDictionaryDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return dataDictionaryDao.batchRemove(ids);
	}
	
}
